package asCachePool.event
{
	import flash.events.Event;
	
	/**
	 * 缓存事件
	 * @author Pelephone
	 * @website http://cnblogs.com/pelephone
	 */
	public class CacheEvent extends Event
	{
		/**
		 * 清理过期缓存
		 */
		public static const CLEAR_EXPIRED:String = "clear_expired";
		
		/**
		 * 移出所有缓存
		 */
		public static const REMOVE_ALL_CACHE:String = "remove_all_cache";
		
		/**
		 * 构造缓存事件
		 * @param type 事件类型
		 * @param bubbles 是否冒泡
		 * @param cancelable 是否能取消
		 */
		public function CacheEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		override public function clone():Event
		{
			return new CacheEvent(type, bubbles, cancelable);
		}
	}
}